//
//  MainController.swift
//  RxZhihu
//
//  Created by 程庆春 on 2018/12/23.
//  Copyright © 2018 vsccw.com. All rights reserved.
//

import UIKit

class MainController: UIViewController {

  override func viewDidLoad() {
    super.viewDidLoad()
    view.backgroundColor = .orange

    configurationRecommendController()
  }

  func configurationRecommendController() {
    let controller = RecommendController()
    addChild(controller)
    view.addSubview(controller.view)
    controller.didMove(toParent: self)
  }

}
